package com.springdemo.user.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import com.springdemo.entity.UserEntity;

@Service
public interface UserService {

	int deleteUserById(@Param("userId") String userId);
	
	int insert(UserEntity user);
	
	UserEntity findUserById(@Param("userId") String userId);
	
	int updateById(UserEntity user);
	
	List<UserEntity> findUserByCondition(UserEntity user);
	
}
